package com._520it.crm.mapper;

import com._520it.crm.domain.Institute;
import com._520it.crm.query.InstituteQueryObject;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface InstituteMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Institute record);

    Institute selectByPrimaryKey(Long id);

    List<Institute> selectAll();

    int updateByPrimaryKey(Institute record);

    Integer queryPageCount(InstituteQueryObject qo);

    List<Institute> queryPageData(InstituteQueryObject qo);
}